home *** CD-ROM | disk | FTP | other *** search
/ Amiga News 95 / Amiga News 95.iso / dpat / dpat106 / bexchange11 / install_deutsch < prev    next >
Text File  |  1995-07-24  |  7KB  |  324 lines

  1. ;
  2. ; $VER: Installation de BGUI-Exchange v1.1 (25.7.1995)
  3. ;
  4. ;
  5. ;
  6.  
  7.         (set UserLevel.old @user-level)
  8.  
  9. ; Initialisation des messages.
  10.  
  11.         (set Language 16)
  12.  
  13.         (set #WrongKickStart "\nBGUI-Exchange braucht OS2.04+")
  14.  
  15.  
  16.  
  17. ; S'assurer que l'on utilise un KickStart >= à 2.04.
  18.  
  19.         (if (< (/ (getversion) 65536) 37)
  20.           (abort #WrongKickStart)
  21.         )
  22.  
  23.  
  24. (set LangueHelp "Wähle die Sprache aus, in der Du die Dokumentation willst.")
  25.  
  26. (set IconHelp "Welche Art von Piktogramm wilst Du:\n\n- 4 farbig:          Standard Piktogramme\n- 8 farbig MagicWB : Standard MagicWB\n- NewIcon :          Standard NewIcon")
  27.  
  28. (set bguiHelp "Die bgui.library erleichtert es, hübsche graphische Oberflächen zu erstellen.\n\nbgui.library   (C) 1993-1995 Jan van den Baard")
  29.  
  30. (set Refresh  "Wähle einen Refreshmodus für das Fenster")
  31. (set Aspect   "Wähle die Art der Umrahmung:\n\n- AutoAspect:  Behalte das Seitenverhältnis bei\n- Thin:        Dünne Linien\n- Standard:    Wie auf der Workbench")
  32. (set Frame    "Wähle das Aussehen der Buttons")
  33. (set WindowPos  "Wo soll das Fenster geöffnet werden ?")
  34. (set NewLook    "NewLook-Modus verwendet einen weißen Schieberegler für die Liste")
  35.  
  36.  
  37. ;
  38. ; Répertoire de destination
  39. ; *************************
  40. ;
  41.  
  42. (set Path.source (pathonly @icon) )
  43.  
  44. (set  Path.dest
  45.         (askdir
  46.                 (prompt "\nWähle oder erstelle ein Verzeichnis, in dem BGUI-Exchange installiert werden soll.\n")
  47.                 (help @askdir-help)
  48.                 (default "Sys:Tools/Commodities")
  49.         )
  50. )
  51.  
  52.  
  53. ; Copie de l'executable
  54. ; **********************
  55. (copyfiles
  56.         (prompt "Kopiere BGUI-Exchange")
  57.         (help @copyfiles-help)
  58.         (source Path.source)
  59.         (dest Path.dest)
  60.         (choices "BGUI-Exchange" "BGUI-Exchange.info")
  61. )
  62.  
  63. ; Copie du catalogs Allemand
  64. ; **************************
  65. (set CatPath (tackon Path.dest "catalogs"))
  66. (makedir CatPath)
  67. (set CatPath (tackon Path.dest "catalogs/deutsch"))
  68. (makedir CatPath)
  69.  
  70. (copyfiles
  71.     (prompt "Kopiere 'catalog'")
  72.     (source Path.source)
  73.     (dest CatPath)
  74.     (choices "catalogs/deutsch/BGUI-Exchange.catalog")
  75. )
  76.  
  77. ; Copie de la documentation
  78. ; *************************
  79. (set Doc (askchoice
  80.             (prompt "Dokumentation zu BGUI-Exchange")
  81.             (choices "French" "English" "Deutsch")
  82.             (help LangueHelp)
  83.             (default 2)
  84.  
  85.     )
  86. )
  87.  
  88.  
  89.     (if (= Doc 0)
  90.         (copyfiles
  91.             (source "BGUI-Exchange_FR.guide")
  92.             (dest Path.dest)
  93.             (newname "BGUI-Exchange.guide")
  94.             (infos)
  95.         )
  96.     )
  97.  
  98.     (if (= Doc 1)
  99.         (copyfiles
  100.             (source "BGUI-Exchange_ENG.guide")
  101.             (dest Path.dest)
  102.             (newname "BGUI-Exchange.guide")
  103.             (infos)
  104.         )
  105.     )
  106.  
  107.     (if (= Doc 2)
  108.         (copyfiles
  109.             (source "BGUI-Exchange_D.guide")
  110.             (dest Path.dest)
  111.             (newname "BGUI-Exchange.guide")
  112.             (infos)
  113.         )
  114.     )
  115.  
  116.  
  117.  
  118.  
  119. ; On copie les icônes
  120. ; *******************
  121. (set Icon (askchoice
  122.             (prompt "Welche Piktogramme sollen installiert werden ?")
  123.             (choices "4-farbig" "MagicWB" "NewIcon")
  124.             (help IconHelp)
  125.     )
  126. )
  127.  
  128.     ; MagicWB ?
  129.     ; *********
  130.     (if (= Icon 1)
  131.         (
  132.         (copyfiles
  133.             (source "Icons/EXE_MagicWb.info")
  134.             (dest Path.dest)
  135.             (newname "BGUI-Exchange.info")
  136.         )
  137.  
  138.         (copyfiles
  139.             (source "Icons/Guide_MagicWb.info")
  140.             (dest Path.dest)
  141.             (newname "BGUI-Exchange.guide.info")
  142.         )
  143.         )
  144.     )
  145.  
  146.     ; NewIcon ?
  147.     ; *********
  148.     (if (= Icon 2)
  149.         (
  150.         (copyfiles
  151.             (source "Icons/EXE_NewIcon.info")
  152.             (dest Path.dest)
  153.             (newname "BGUI-Exchange.info")
  154.         )
  155.  
  156.         (copyfiles
  157.             (source "Icons/Guide_NewIcon.info")
  158.             (dest Path.dest)
  159.             (newname "BGUI-Exchange.guide.info")
  160.         )
  161.         )
  162.     )
  163.  
  164.  
  165. ; Copie de la bgui.library
  166. ; ************************
  167. (copylib
  168.     (prompt "Kopiere die bgui.library")
  169.     (source "libs/bgui.library")
  170.     (dest "Libs:")
  171.     (help bguiHelp)
  172.     (confirm)
  173. )
  174.  
  175.  
  176.  
  177.  
  178. ; Parametrage du programme
  179. ; ************************
  180.  
  181. ; On prend le chemin de destination et le nom
  182. (set DestName (tackon Path.dest "BGUI-Exchange"))
  183.  
  184.  
  185. ; ***********
  186. ; * REFRESH *
  187. ; ***********
  188. (set Icon (askchoice
  189.             (prompt "Welcher Refeshmodus soll verwendet werden ?")
  190.             (choices "SmartRefresh" "SimpleRefresh")
  191.             (help Refresh)
  192.     )
  193. )
  194.  
  195.     (if (= Icon 0)
  196.         (tooltype
  197.             (settooltype "SMARTREFRESH" "YES")
  198.             (dest DestName)
  199.         )
  200.     )
  201.  
  202.     (if (= Icon 1)
  203.         (tooltype
  204.             (settooltype "SMARTREFRESH" "NO" )
  205.             (dest DestName)
  206.         )
  207.     )
  208.  
  209. ; **********
  210. ; * ASPECT *
  211. ; **********
  212. (Set Icon (askchoice
  213.             (prompt "Wie soll das Seitenverhältnis für das Fenster sein ?")
  214.             (choices "Automatisch (wie beim Bildschirm)" "Thin" "Standard")
  215.             (help Aspect)
  216.         )
  217. )
  218.     (if (= Icon 0)
  219.         (tooltype
  220.             (settooltype "ASPECT" "AUTO")
  221.             (dest DestName)
  222.         )
  223.     )
  224.  
  225.     (if (= Icon 1)
  226.         (tooltype
  227.             (settooltype "ASPECT" "THIN")
  228.             (dest DestName)
  229.         )
  230.     )
  231.  
  232.     (if (= Icon 2)
  233.         (tooltype
  234.             (settooltype "ASPECT" "STANDARD")
  235.             (dest DestName)
  236.         )
  237.     )
  238.  
  239. ; *********
  240. ; * FRAME *
  241. ; *********
  242. (Set Icon (askchoice
  243.             (prompt "Welche Umrahmung willst Du ?")
  244.             (choices "Standard" "XEN")
  245.             (help Frame)
  246.         )
  247. )
  248.     (if (= Icon 0)
  249.         (tooltype
  250.             (settooltype "FRAME" "STANDARD")
  251.             (dest DestName)
  252.         )
  253.     )
  254.  
  255.     (if (= Icon 1)
  256.         (tooltype
  257.             (settooltype "FRAME" "XEN")
  258.             (dest DestName)
  259.         )
  260.     )
  261.  
  262.  
  263. ; *******************
  264. ; * NEWLOOKSCROLLER *
  265. ; *******************
  266. (Set Icon (askchoice
  267.             (prompt "Willst Du 'NewLook' für den Schieberegler der Liste ?")
  268.             (choices "Ja" "Nein")
  269.             (default 1)
  270.             (help NewLook)
  271.         )
  272. )
  273.     (if (= Icon 0)
  274.         (tooltype
  275.             (settooltype "NEWLOOKSCROLLER" "YES")
  276.             (dest DestName)
  277.         )
  278.     )
  279.  
  280.     (if (= Icon 1)
  281.         (tooltype
  282.             (settooltype "NEWLOOKSCROLLER" "NO")
  283.             (dest DestName)
  284.         )
  285.     )
  286.  
  287.  
  288. ; ******************
  289. ; * WINDOWPOSITION *
  290. ; ******************
  291. (Set Icon (askchoice
  292.             (prompt "Wo soll das Programm sein Fenster öffnen ?")
  293.             (choices "Bildschirmmitte" "Bei der Maus" "Links oben")
  294.             (help WindowPos)
  295.         )
  296. )
  297.     (if (= Icon 0)
  298.         (tooltype
  299.             (settooltype "WINDOWPOSITION" "CENTERSCREEN")
  300.             (dest DestName)
  301.         )
  302.     )
  303.  
  304.     (if (= Icon 1)
  305.         (tooltype
  306.             (settooltype "WINDOWPOSITION" "CENTERMOUSE")
  307.             (dest DestName)
  308.         )
  309.     )
  310.  
  311.     (if (= Icon 2)
  312.         (tooltype
  313.             (settooltype "WINDOWPOSITION" "TOPLEFT")
  314.             (dest DestName)
  315.         )
  316.     )
  317.  
  318. (message "\nLies bitte die Dokumentation,\num alle Optionen kennenzulernen")
  319.  
  320.  
  321. (set @default-dest Path.dest )
  322.         (exit)
  323.  
  324.